package userService

import (
	"sg-backend/app/entity/userQuery"
	"sg-backend/app/repository/userRepository"
	"sg-backend/model/user"
)

// GetUserByAccount 通过用户账号，在系统中匹配对应的用户（用户名，手机号，邮箱号作为账号名）
func GetUserByAccount(qo *userQuery.GetUserByAccountQo) *user.User {
	return userRepository.GetUserByAccount(qo)
}
